Track
The Default track for WavySlider.
Parameters
SliderState which is used to obtain the current active track.
the Modifier to be applied to the track.
SliderColors that will be used to resolve the colors used for this track in different states. See SliderDefaults.colors.
controls the enabled state of this slider. When false, this component will not respond to user input, and it will appear visually disabled and disabled to accessibility services.
size of the gap between the thumb and the track.
size of the corners towards the thumb when a gap is set.
lambda that will be called to draw the stop indicator at the end of the track.
the distance over which the wave's shape repeats.
the total height of the wave (from crest to trough i.e. amplitude * 2). The final rendered height of the wave will be waveHeight + waveThickness.
the horizontal movement (speed per second and direction) of the whole wave (aka phase shift). Setting speed to 0.dp or less stops the movement.
the thickness of the active line (whether animated or not).
the thickness of the inactive line.
whether to gradually increase height from zero at start to waveHeight at thumb.
animation configurations used for various properties of the wave.
Deprecated
Use the variant that supports SliderState
The Default track for WavySlider.
Parameters
SliderPositions which is used to obtain the current active track.
the Modifier to be applied to the track.
SliderColors that will be used to resolve the colors used for this track in different states. See SliderDefaults.colors.
controls the enabled state of this WavySlider. When false, this component will not respond to user input, and it will appear visually disabled and disabled to accessibility services.
the distance over which the wave's shape repeats.
the total height of the wave (from crest to trough i.e. amplitude * 2). The final rendered height of the wave will be waveHeight + waveThickness.
the horizontal movement (speed per second and direction) of the whole wave (aka phase shift). Setting speed to 0.dp or less stops the movement.
the thickness of the active line (whether animated or not).
the thickness of the inactive line.
whether to gradually increase height from zero at start to waveHeight at thumb.
animation configurations used for various properties of the wave.